package net.maku.talent.convert;

import net.maku.talent.entity.HonorPersonEntity;
import net.maku.talent.vo.HonorPersonVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 个人荣誉
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-21
*/
@Mapper
public interface HonorPersonConvert {
    HonorPersonConvert INSTANCE = Mappers.getMapper(HonorPersonConvert.class);

    HonorPersonEntity convert(HonorPersonVO vo);

    HonorPersonVO convert(HonorPersonEntity entity);

    List<HonorPersonVO> convertList(List<HonorPersonEntity> list);

}